﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GamePlus.OpenAuth.V20
{
    ///// <summary>
    ///// see ResponseType Request URL at http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-3.1.1
    ///// </summary>
    //public static class ResponseType
    //{
    //    /// <summary>
    //    /// Default response type
    //    /// 
    //    /// For requesting an authorization code as described by Section 
    //    /// http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.1.1
    //    /// </summary>
    //    public const string Code = "code";

    //    /// <summary>
    //    /// For requesting an access token (implicit grant) as described by
    //    /// http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-4.2.1
    //    /// </summary>
    //    public const string Token = "Token";

    //    /// <summary>
    //    /// Custom response type
    //    /// 
    //    /// Registered extension value as described by
    //    /// http://tools.ietf.org/html/draft-ietf-oauth-v2-25#section-8.4.
    //    /// </summary>
    //    /// <param name="token"></param>
    //    /// <returns></returns>
    //    public static string RegisteredExtension( string token )
    //    {
    //        return token;
    //    }
    //}


    public enum ResponseType
    {
        Code,
        Token
    }
}
